<?php if(!defined('PATH_HD'))exit;
$db->exe("DROP TABLE IF EXISTS `ec_user`");
$db->exe("CREATE TABLE `ec_user` (
  `userid` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `username` varchar(45) NOT NULL DEFAULT '' COMMENT '用户名',
  `password` char(40) NOT NULL DEFAULT '' COMMENT '用户密码',
  `email` varchar(45) NOT NULL DEFAULT '' COMMENT '用户邮箱',
  `point` int(10) unsigned NOT NULL DEFAULT '0',
  `regtime` int(10) NOT NULL,
  PRIMARY KEY (`userid`),
  UNIQUE KEY `username_UNIQUE` (`username`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COMMENT='EasyCms用户表'");
$db->exe('REPLACE INTO `ec_user`(`userid`,`username`,`password`,`email`,`point`,`regtime`)VALUES (9,"admin","21232f297a57a5a743894a0e4a801fc3","",0,1359810280)');

?>